# 爬虫dubugger模式启动方式
from scrapy.cmdline import execute

# 执行命令说明，启动那个爬虫文件（最后一个参数）
# 注意：启动配置 参考博文：
# https://blog.csdn.net/qq_26449287/article/details/85252323
# https://blog.csdn.net/Tsinghua2MIT/article/details/128780882
execute(['scrapy', 'crawl', 'baidu'])

